package com.weimob.mcloud.wechatwork.customer.listener.event;

import com.weimob.mcloud.wechatwork.core.entity.privatesphere.PrivateSphere;
import com.weimob.mcloud.wechatwork.core.service.group.request.CustomerGroupCreateRequest;
import com.weimob.mcloud.wechatwork.core.service.group.request.CustomerGroupMemberDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author liuzhu.chen
 * @Description
 * @Date 2021/11/12 15:23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerGroupMemberEvent implements Serializable {
    private static final long serialVersionUID = 6845732331592065199L;

    /**
     * 0-退出群聊，1-加入群聊
     */
    private Integer operateType;

    /**
     * 私域信息
     */
    private PrivateSphere privateSphere;

    /**
     * 群信息
     */
    private CustomerGroupCreateRequest customerGroupDTO;

    /**
     * 群成员列表
     */
    private List<CustomerGroupMemberDTO> customerGroupMemberDTOList;

}
